package mBeanControl.interfaces;

import java.util.ArrayList;

import mBeanControl.exceptions.ObjectNotFoundException;
/**
 * Domain Interface
 * This is the root interface for access you need to generate a connection with
 * the connectionFactory class
 * 
 * example
 * IDomain iDomain = ConnectionFactory.Connect(hostname, portString, username, password);
 * 
 * Weblogic MBean reference
 * http://download.oracle.com/docs/cd/E12840_01/wls/docs103/wlsmbeanref/core/index.html
 * 
 * @author jbrasca
 */
public interface IDomain {
	
	public String getName() throws ObjectNotFoundException;
	
	public ArrayList<IServer> getIServers() throws ObjectNotFoundException;
	
	public IServer getIServer(String name) throws ObjectNotFoundException;
}
